
typedef struct album_s {
     g_char * name;
     GList * covers;
     GList * it;
}album_t;

typedef struct coversQuery_s {
     GList * albums;
     GList * it;
}*coversQuery_t;


album_t album_create (g_char * name);
/* Creates an album */

void album_destroy (album_t album);
/* Free it's memory */

void album_add_cover (album_t album, cover_t cover);
/* Adds a cover to the album*/

cover_t album_next_cover (album_t album);
/* Gets the next cover of the album */

cover_t album_reset_cover (album_t album);
/* Resets the iterator of covers */

coversQuery *get_covers (g_char *artis, g_char *album);
/* Gets the coversQuery item or NULL if something goes wrong */

void destroy_covers (coversQuery);
/* Frees the allocated TAD memory */

